{include file=comm/head.html}
{include file=comm/top.html}
<link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.5/js/bootstrap.min.js"></script>

<!-- Bootstrap Datetimepicker-->
<link type="text/css" href="{pboot:sitetplpath}/skin/datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet">
<script type="text/javascript" src="{pboot:sitetplpath}/skin/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="{pboot:sitetplpath}/skin/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
<script type="text/javascript" src="{pboot:sitetplpath}/skin/datetimepicker/js/format.js"></script>
<!-- Bootstrap Datetimepicker End-->
<style>ul{margin-bottom: 0;}</style>
<div class="section">
    <div class="container">
        <div class="ct2 clearfix">
            {include file=member/left.html}
            <div class="ct2-mn">
                {include file=comm/position.html}
                <div class="content-body">
                    <form action="{pboot:umodify}" method="post">

						<div class="form-group">
							<label for="username">用户名：</label>
							<div>
								{user:username}
							</div>
						</div>
	
						<div class="form-group">
							<label for="hidden">头像：</label>
							   <input type="hidden" name="headpic" class="headpic"  value="{user:headpic}" >  
							   <div style="height:100px; width:100px; border:1px solid #ccc; margin-bottom:5px; border-radius:2px">
								   <img src="{user:headpic}"  class="headpic" style="max-width:100%;max-height:100%">
							   </div>
							<buttom class="btn btn-success upload" data-target=".headpic" >上传</buttom>
						</div>
						
						<div class="form-group">
							<label for="useremail">邮箱：</label>
							<div>
								<input type="text" name="useremail" value="{user:useremail}" class="form-control" placeholder="请输入邮箱账号">
							</div>
						</div>
						
						<div class="form-group">
							<label for="usermobile">手机：</label>
							<div>
								<input type="text" name="usermobile" value="{user:usermobile}" class="form-control" placeholder="请输入手机号码">
							</div>
						</div>
						
						<div class="form-group">
							<label for="nickname">昵称：</label>
							<div>
								<input type="text" name="nickname" value="{user:nickname}" class="form-control" placeholder="请输入账号昵称">
							</div>
						</div>
						
						<div class="form-group">
							<label for="password">密码：</label>
							<div>
								<input type="password" name="password" class="form-control" placeholder="请输入登录密码">
							</div>
						</div>
						
						<div class="form-group">
							<label for="rpassword">确认密码：</label>
							<div>
								<input type="password" name="rpassword" class="form-control" placeholder="请再次输入登录密码">
							</div>
						</div>
						
						<div class="form-group">
							<label for="sex">性别：</label>
							<div>
								 <select class="form-control" name="sex" id="sex">
								  <option value="男" {pboot:if('{user:sex}'=='男')}selected{/pboot:if}>男</option>
								  <option value="女" {pboot:if('{user:sex}'=='女')}selected{/pboot:if}>女</option>
								</select>
							</div>
						</div>
						
						<div class="form-group">
							<label for="birthday">生日：</label>
							<div class="input-group date form_date" style="max-width:200px;" >
								<input class="form-control" name="birthday" id="birthday" value="{user:birthday}" readonly type="text">
								<div class="input-group-prepend input-group-addon">
								  <div class="input-group-text"><span class="fa fa-calendar"></span></div>
								</div>
							</div>
						</div>
						
						<div class="form-group">
							<label for="nickname">QQ：</label>
							<div>
								<input type="text" name="qq" value="{user:qq}" class="form-control" placeholder="请输入QQ号码">
							</div>
						</div>
						
						
						<div class="form-group">
						   <button type="submit" class="btn btn-info">保存</button>
						   <a href="{pboot:ucenter}" class="btn btn-light">返回</a>
					   </div>
				   </form>
                </div>
            </div>
        </div>
    </div>
</div>

{include file=comm/upload.html}
{include file=comm/foot.html}
